home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_12_09
/
allison
/
innac.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-07-10
|
245 b
|
18 lines
#include <stdio.h>
main()
{
int i = 100;
i *= 23.4;
printf("%d\n",i);
printf("100 * 23.4 %s 2340.0\n",
(100 * 23.4 == 2340.0) ? "==" : "!=");
return 0;
}
/* Output:
2339
100 * 23.4 != 2340.0
*/